package com.hiraeth.modules.monitor.model.sd;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class NerveSdConfig implements Serializable {
	
	private static final long serialVersionUID = 7057836933739225126L;

	private List<String> servers;
	
	/**
	 * 路径可以指向单个服务，也可以指向服务树的根。
	 */
	private List<String> paths;
	
	/**
	 * 默认10s
	 */
	private String timeout;

}
